// The module 'vscode' contains the VS Code extensibility API
// Import the module and reference it with the alias vscode in your code below
import * as vscode from 'vscode';
import GlobalData from './GlobalData';
import ReadVar from './ReadVar';

// this method is called when your extension is activated
// your extension is activated the very first time the command is executed
export function activate(context: vscode.ExtensionContext) {

	console.log('恭喜，您的扩展“hello-world”已被激活！');

	ReadVar(context);
	GlobalData.Instance().loadVar()
}

// this method is called when your extension is deactivated
export function deactivate() {

	console.log('您的扩展“hello-world”已被释放！')
}
